package com.ai.module.user.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ai.module.chat.common.domain.BaseEntity;
import lombok.Data;

/**
 * @author: MrHe
 * @create: 2023-11-25 10:47
 * @description: 后台用户
 **/
@Data
@TableName("user_mange")
public class UserMangeEntity extends BaseEntity {

    @TableField("icon")
    private String icon;

    @TableField("name")
    private String name;

    @TableField(value = "phone",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String phone;

    @TableField(value = "pass_word",updateStrategy = FieldStrategy.NOT_EMPTY)
    private String passWord;

    @TableField("host")
    private String host;

    @TableField("open_id")
    private String openId;


}
